﻿using IOA.MES.PdaApi.Models.Response.Product;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IOA.MES.PdaApi.Models.Response.Cabinet
{
    /// <summary>
    /// 查询拼柜记录返回对象
    /// </summary>
    public class QueryCabinetsResponse
    {
        /// <summary>
        /// 拼柜列表
        /// </summary>
        public List<Cabinet> Cabinets { get; set; } = new List<Cabinet>();
    }

    /// <summary>
    /// 柜子
    /// </summary>
    public class Cabinet
    {
        /// <summary>
        /// 柜号
        /// </summary>
        public string CabinetNo { get; set; }

        /// <summary>
        /// 箱数
        /// </summary>
        public decimal PackQuantity { get; set; }

        /// <summary>
        /// 拼柜人
        /// </summary>
        public string CabinetBy { get; set; }

        /// <summary>
        /// 拼柜时间
        /// </summary>
        public DateTime CabinetTime { get; set; }

        /// <summary>
        /// 仓库代码
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 箱子清单
        /// </summary>
        public List<PackItem> Packs { get; set; } = new List<PackItem>();
    }
}
